package com.liuyucheng.idea_springboot.aop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 说明
 *
 * @author LiuYuCheng
 * @date 2023年06月30日 10:20
 */
public class Test {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(TestConfig.class);
        Sp sp = context.getBean(Sp.class);
        sp.add(1,3);
        System.out.println("sp = " + sp);
    }
}
